//
//  LMViewUtil.m
//  Mi6App
//
//  Created by Mr.Lemon on 8/31/13.
//  Copyright (c) 2013 4G Secure. All rights reserved.
//

#import "LMViewUtil.h"

@implementation LMViewUtil

+(LMViewUtil*)shareInstance{

    static LMViewUtil *instance=nil;
    if(!self)
        instance=[[LMViewUtil alloc] init];
    return instance;
}
-(UIView*)getViewFromNibName:(NSString*)nibName{
    
    NSArray* nibViews = [[NSBundle mainBundle] loadNibNamed:nibName
                                                      owner:self
                                                    options:nil];
    return  (UIView*)[nibViews objectAtIndex:0];
    
}

@end
